package com.sy.bean.sale;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel("销售退货单")
public class ErpSale implements Serializable {
    /** 销售退货单id */
    @ApiModelProperty(name = "销售退货单id")
    private Integer id ;
    /** 订单编号 */
    @ApiModelProperty(name = "销售单编号")
    private String code ;
    /** 订单日期 */
    @ApiModelProperty(name = "销售单日期")
    private String createTime ;
    /** 订单状态 1.待审核 2.驳回 3.审核通过 4.待出库 5.已出库 */
    @ApiModelProperty(name = "订单状态 1.待审核 2.驳回 3.审核通过 4.待出库 5.已出库")
    private Integer status ;
    /** 实收金额 */
    @ApiModelProperty(name = "实收金额")
    private Double price ;
    /** 客户id */
    @ApiModelProperty(name = "客户名称")
    private String client ;
    /** 仓库id */
    @ApiModelProperty(name = "仓库名称")
    private String warehouse ;
    /** 出退货状态 1.出货 2.退货 */
    @ApiModelProperty(name = "出退货状态 1.出货 2.退货")
    private Integer goInStatus ;
    /**
     * 订单列表
     */
    @ApiModelProperty(name = "订单列表")
    List<ErpOrder> orders;
    /**
     * 销售退货详情表
     */
    @ApiModelProperty(name = "销售退货详情表")
    ErpSaleDetail erpSaleDetail;
}
